package cn.dbwork.yacht.domain;

import java.io.Serializable;
import java.util.Date;

public class Comsume implements Serializable{

	private Integer id;
	private Integer uId;
	private Integer yId;
	private Date date;
	private Integer money;
	private Integer disabled;
	
	private Yacht yacht;
	private User user;
	
	
	public User getUser() {
		return user;
	}
	public void setUser(User user) {
		this.user = user;
	}
	public Integer getDisabled() {
		return disabled;
	}
	public void setDisabled(Integer disabled) {
		this.disabled = disabled;
	}
	public Yacht getYacht() {
		return yacht;
	}
	public void setYacht(Yacht yacht) {
		this.yacht = yacht;
	}
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public Integer getuId() {
		return uId;
	}
	public void setuId(Integer uId) {
		this.uId = uId;
	}
	public Integer getyId() {
		return yId;
	}
	public void setyId(Integer yId) {
		this.yId = yId;
	}
	public Date getDate() {
		return date;
	}
	public void setDate(Date date) {
		this.date = date;
	}
	public Integer getMoney() {
		return money;
	}
	public void setMoney(Integer money) {
		this.money = money;
	}
	@Override
	public String toString() {
		return "Comsume [id=" + id + ", uId=" + uId + ", yId=" + yId + ", date=" + date + ", money=" + money
				+ ", disabled=" + disabled + ", yacht=" + yacht + ", user=" + user + "]";
	}
	
}
